using System;
using System.Collections.Generic;
using Volo.Abp.Application.Dtos;
using System.ComponentModel.DataAnnotations;

namespace Business.OrdersManagement.Dto
{
    public class OrdersDto : EntityDto<Guid?>
    {
        
        /// <summary>
        /// 订单编号
        /// </summary>
        [Required]
        public string OrderNo { get; set; }
        
        /// <summary>
        /// 仓库
        /// </summary>
        public string WarehouseNo { get; set; }
        
        /// <summary>
        /// 快递公司
        /// </summary>
        public string ServerceCompany { get; set; }
        
        /// <summary>
        /// 下单店铺
        /// </summary>
        [Required]
        public string OrderShop { get; set; }
        
        /// <summary>
        /// 业务员
        /// </summary>
        public string Salesman { get; set; }
        
        /// <summary>
        /// 收件人
        /// </summary>
        [Required]
        public string Recipients { get; set; }
        
        /// <summary>
        /// 所在地区
        /// </summary>
        [Required]
        public string PCode { get; set; }
        
        /// <summary>
        /// 下单客户
        /// </summary>
        public string OrderName { get; set; }
        
        /// <summary>
        /// 手机
        /// </summary>
        [Required]
        public string OrderPhone { get; set; }
        
        /// <summary>
        /// 货到付款
        /// </summary>
        public string IsDelivery { get; set; }
        
        /// <summary>
        /// 买家留言
        /// </summary>
        public string BuyerRemark { get; set; }
        
        /// <summary>
        /// 备注
        /// </summary>
        public string OrderRemark { get; set; }
        
        /// <summary>
        /// 详细地址
        /// </summary>
        [Required]
        public string OrderAddr { get; set; }
        
        /// <summary>
        /// 固话
        /// </summary>
        public string OrderTelphone { get; set; }
        
        /// <summary>
        /// 邮编
        /// </summary>
        public string OrderEmail { get; set; }
        
        /// <summary>
        /// 是否预售
        /// </summary>
        public string Ispresell { get; set; }
        
        /// <summary>
        /// 下单时间
        /// </summary>
        [Required]
        public DateTime OrderDate { get; set; }
        
        /// <summary>
        /// 运费
        /// </summary>
        [Required]
        public string OrderFreight { get; set; }
        
        /// <summary>
        /// 配送方式
        /// </summary>
        public string OrderStyle { get; set; }
        
        /// <summary>
        /// 预计发货时间
        /// </summary>
        public DateTime Deliverytime { get; set; }
        /// <summary>
        /// 仓库名称
        /// </summary>
        [Required]
        public string WarehouseName { get; set; }
        /// <summary>
        /// 区
        /// </summary>
        [Required]
        public string RegionName { get; set; }
        /// <summary>
        /// 是否审核
        /// </summary>
        public bool OrderStatues { get; set; } = false;
        /// <summary>
        /// 订单标记
        /// </summary>
        public string OrderHtml { get; set; }

    }
}